{% extends "base.html" %} {% block title %}Dashboard — MarineInvoice Pro{% endblock %} {% block content %}

Dashboard

Bienvenido, {{ current_user.full_name or current_user.username }}

🏢
Compañías
{{ companies|length }}
👥
Clientes
{{ total_clients }}
📄
Invoices
{{ total_invoices }}
📋
Cotizaciones
{{ total_quotes }}
Total Facturado (Invoices)
${{ "%.2f"|format(total_billed) }}
💰
📄 Últimos Invoices Ver todos
{% if recent_invoices %} {% for inv in recent_invoices %} {% set client = inv.client %}

{{ inv.number }} {% if inv.status == 'draft' %}Borrador {% elif inv.status == 'sent' %}Enviado {% elif inv.status == 'paid' %}Pagado {% else %}Cancelado{% endif %}

{{ client.name if client else '—' }} · {{ inv.date }}

${{ "%.2f"|format(inv.total) }}
{% endfor %} {% else %}
📄

No hay invoices aún

Ve a Invoices para crear uno

{% endif %}
📋 Últimas Cotizaciones Ver todas
{% if recent_quotes %} {% for qt in recent_quotes %} {% set client = qt.client %}

{{ qt.number }} {% if qt.status == 'draft' %}Borrador {% elif qt.status == 'sent' %}Enviado {% elif qt.status == 'accepted' %}Aceptado {% else %}Rechazado{% endif %}

{{ client.name if client else '—' }} · {{ qt.date }}

${{ "%.2f"|format(qt.total) }}
{% endfor %} {% else %}
📋

No hay cotizaciones aún

Ve a Cotizaciones para crear una

{% endif %}
{% endblock %}